package com.ztsoft.user.service.dynamic;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ztsoft.user.pojo.entity.dynamic.ColumnDescription;
import com.ztsoft.user.pojo.vo.dynamic.ColumnDescriptionVo;
import com.ztsoft.user.pojo.vo.dynamic.CustomColumnVo;

import java.util.List;

public interface ColumnDescriptionService extends IService<ColumnDescription> {
    void saveColumnDescription(ColumnDescription columnDescription);

    List<ColumnDescription> queryColumnByTableCode(ColumnDescription columnDescription);

    List<ColumnDescription> queryIdAndTitle(ColumnDescription columnDescription);

    void updateColumnDescription(ColumnDescription columnDescription);

    List<CustomColumnVo> queryCustomColumnList(String tableCode);

    List<ColumnDescriptionVo> getColumnDescriptionVos(String tableCode);

    void saveCustomColumn(List<CustomColumnVo> list, String tableCode);

}